
package banco ;
/**
 * 
 *
 * @hibernate.class
 *     table="IDIOMA"
 *
 */
public class Idioma {
 
  // <editor-fold defaultstate="collapsed" desc=" Property:   String idioma ">
  private String idioma;
/**
  *   @hibernate.property
  */
   public String getIdioma () {
      return idioma;
   } 
   public void setIdioma (String idioma) {
      this.idioma = idioma;
   }
   // </editor-fold>

   // <editor-fold defaultstate="collapsed" desc=" PrimaryKey:   String id ">
   private String id;
/**
  *   @hibernate.id
  *     generator-class="uuid.hex"
  */
   public String getId () {
      return id;
   } 
   public void setId (String id) {
      this.id = id;
   }
   //</editor-fold>
   
   // <editor-fold defaultstate="collapsed" desc=" M-N  Relation to Collection /*banco.Midia*/ midiasLeg ">
   private java.util.Collection midiasLeg;
   
   /**
    * @hibernate.set
    *     role="midiasLeg"
    *     table="MIDIA_TO_IDIOMALEG"
    * @hibernate.collection-key
    *     column="MIDIALEG_FK"
    * @hibernate.collection-many-to-many
    *     class="banco.Midia"
    *     column="IDIOMALEG_FK"
    */
   public java.util.Collection getMidiasLeg() {
       return this.midiasLeg;
   }
   
   public void setMidiasLeg(java.util.Collection midiasLeg) {
       this.midiasLeg = midiasLeg;
   }
   // </editor-fold>

   
   // <editor-fold defaultstate="collapsed" desc=" M-N  Relation to Collection /*banco.Midia*/ midiasDub ">
   private java.util.Collection midiasDub;
   
   /**
    * @hibernate.set
    *     role="midiasDub"
    *     table="MIDIA_TO_IDIOMADUB"
    * @hibernate.collection-key
    *     column="MIDIADUB_FK"
    * @hibernate.collection-many-to-many
    *     class="banco.Midia"
    *     column="IDIOMADUB_FK"
    */
   public java.util.Collection getMidiasDub() {
       return this.midiasDub;
   }
   
   public void setMidiasDub(java.util.Collection midiasDub) {
       this.midiasDub = midiasDub;
   }
   // </editor-fold>


}